var vm = new Vue({
    el: '#app',
    data: {
        title: '模板语法',
        rawHtml: '<font color=red>红色字体</font>',
        number: 10,
        seen: true,
        siteurl: 'http://www.zisha.com/',
        firstName: 'Foo',
        lastName: 'Bar'
    },
    methods: {
        doSomething: function(){
            alert(this.title);
        }
    },
    computed: {
        reversedMessage: function(){
            return this.title.split('').reverse().join('')
        },
        fullName: function(){
            return this.firstName + ' ' + this.lastName
        }
    }
});